home *** CD-ROM | disk | FTP | other *** search
- Path: newspost1.alt.net!usenet
- From: sdoherty@mi.net (Sean Doherty)
- Newsgroups: comp.lang.c
- Subject: Borland To Watcom (farmalloc) Help!
- Date: Wed, 07 Feb 1996 05:05:05 GMT
- Organization: AltNet - Affordable Usenet Access - http://www.alt.net
- Message-ID: <4f9875$gnm@tofu.alt.net>
- X-Newsreader: Forte Agent .99b.112
-
- I am trying to convert borland C++ to Watcom C++, but I am having
- trouble with farmalloc. It is improtant to note that I am using the
- 16 bit version of Watcom.
-
- Borland C++
-
- PcxPtr = (char*) farmalloc(307200L);
-
- Watcom C++
-
- PcxPtr = (char*) _fmalloc(307200L);
-
- However, this produces the warning intragal value may be truncated
- during assignment. Can someone please tell me if I can allocate
- memory larger than 64k in the 16 bit dos target and how to get rid of
- this error.
-
- Thanks in advance.....
-
-
-
-